package com.xuerhua.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xuerhua.yxt.dao.TeacherWorkSignMapper;
import com.xuerhua.yxt.model.TeacherWorkSign;
import com.xuerhua.yxt.page.Page;
import com.xuerhua.yxt.reqVo.TeacherWorkSignReqVO;
import com.xuerhua.yxt.service.ITeacherWorkSignService;

@Service("cardSignService")
public class TeacherWorkSignServiceImpl implements ITeacherWorkSignService {

	@Autowired
	private TeacherWorkSignMapper teacherWorkSignMapper;
	
	@Override
	public int insertSelective(TeacherWorkSign record) {
		return teacherWorkSignMapper.insertSelective(record);
	}

	@Override
	public TeacherWorkSign selectByPrimaryKey(Integer id) {
		return teacherWorkSignMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(TeacherWorkSign record) {
		return teacherWorkSignMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int selectCountForToday(TeacherWorkSignReqVO vo) {
		return teacherWorkSignMapper.selectCountForToday(vo);
	}

	@Override
	public List<TeacherWorkSign> selectListForToday(TeacherWorkSignReqVO vo) {
		return teacherWorkSignMapper.selectListForToday(vo);
	}

	@Override
	public List<TeacherWorkSign> selectListByPage(Page<TeacherWorkSign> page) {
		return teacherWorkSignMapper.selectListByPage(page);
	}

}
